package com.thread.t9;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/20
 * @Description
 */
public class MyThread9 extends Thread {

    @Override
    public void run() {
        System.out.println("run threadName=" + currentThread().getName() + "   begin" + System.currentTimeMillis());
        try {
            Thread.sleep(2000);
            System.out.println("run threadName=" + currentThread().getName() + "    end" + System.currentTimeMillis());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
